﻿<UserControl x:Class="MemoBoss.PopupDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" 
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="240" d:DesignWidth="440" >

    <Grid x:Name="LayoutRoot"  Width="440">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Border Grid.RowSpan="2"  Background="{StaticResource PhoneAccentBrush}" CornerRadius="20" Opacity="0.7"></Border>
        <TextBlock x:Name="PopupText" Grid.Row="0"  Margin="20,20,20,20" TextWrapping="Wrap">
            Welcome to Memo Boss! This game uses your phones gallery images. Please choose whether you want to use all the images in your collection or select specific images. You need at least 20 to play the game.
        </TextBlock>



        <StackPanel  Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,15">
            <Button Content="Use all" Name="btn1"  HorizontalAlignment="Stretch"  Height="72"  Width="160" Click="btn1_Click" />
            <Button Content="Select" Name="btn2"  HorizontalAlignment="Stretch"  Height="72"  Width="160" Click="btn2_Click" />
        </StackPanel>
    </Grid>
</UserControl>
